package com.itcast.java.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 会员收藏的商品实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:27:34
 */
@Data
@TableName("ums_member_collect_spu")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UmsMemberCollectSpuEntity对象", description = "会员收藏的商品")
public class UmsMemberCollectSpuEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private Long id;

    @ApiModelProperty(value = "会员id")
    @TableField("member_id")
    private Long memberId;

    @ApiModelProperty(value = "spu_id")
    @TableField("spu_id")
    private Long spuId;

    @ApiModelProperty(value = "spu_name")
    @TableField("spu_name")
    private String spuName;

    @ApiModelProperty(value = "spu_img")
    @TableField("spu_img")
    private String spuImg;

    @ApiModelProperty(value = "create_time")
    @TableField("create_time")
    private Date createTime;

}